package dxn.nl.file.client.core;

import dxn.nl.file.client.model.dto.*;
import dxn.nl.file.client.model.enums.ExportDealResultTypeEnum;

import java.util.Arrays;
import java.util.List;

public interface DealExportService extends DealExportBaseService{
    default CsExportDealTypeHeadDto getExcelHeads(TransferMessageConfig config,TransferMessageData messageData,byte[] data)
    {
        CsExportDealTypeHeadDto dto = CsExportDealTypeHeadDto.pageDeal(Arrays.asList());
        return dto;
    }
    default CsExportDealResult queryData(TransferMessageConfig config,TransferMessageData messageData,byte[] data){
        CsExportDealResult csExportDealResult = new CsExportDealResult();
        csExportDealResult.setDealResult(ExportDealResultTypeEnum.fail);
        csExportDealResult.setErrorMessage("客户端未做处理");
        return csExportDealResult;
    }

    default String streamQueryData(TransferMessageConfig config,TransferMessageData messageData,byte[] data,SteamQueryCallBackService steamQueryCallBackService){
        return null;
    }
}
